import http from '@/utils/http'

export const addRecord = (data) => http ({
	url: 'addRecord',
	method: 'post',
	data: data
})

export const clearRecord = (data) => http ({
	url: 'clearRecord',
	method: 'post',
	data: data
})

export const delRecord = (data) => http ({
	url: 'delRecord',
	method: 'post',
	data: data
})


export const getRecord = (data) => http ({
	url: 'getRecord',
	method: 'post',
	data: data
})

export const getAllRecords = (data) => http ({
	url: 'getAllRecords',
	method: 'post',
	data: data
})